484 research outputs found

    Domain specific language generation based on a XML schema

    Get PDF
    Dissertação para obtenção do grau de mestre em Engenharia Informática e de ComputadoresThe use of markup languages is recurrent in the world of technology, with HyperText Markup Language (HTML) being the most prominent one due to its use in theWeb. The requirement of tools that can automatically build well formed documents with good performance is clear. Yet, the most used solution is template engines, which neither ensures well-formed documents nor presents good performance, due to the use of external text files. To tackle the first issue we propose to define HTML templates as first-class functions instead of using text files. To that end, these HTML template functions use a Java Domain Specific Language (DSL) to write HTML. Our main goal is to create the required tools that automatically generate that DSL based on its language definition from an eXtensive Markup Language Schema Definition (XSD) file. The resulting DSL should enforce the restrictions of the given language which are specified in the XSD file. By removing the use of text files we are also suppressing the file load overhead and reducing String manipulation, which in turn increases the overall performance and solves the second issue. My proposal, named xmlet, includes a set of tools that are able to: 1) parse and extract the rules from a XSD file, 2) generate the adequate classes and methods to define the DSL that reflects the language rules, 3) handle the use of the resulting DSL through the implementation of the Visitor pattern. Finally we validated this solution not only for the HTML language, but also with the Android layouts and the regular expressions languages. By comparing the developed solution to some state-of-art solutions, including template engines and some other solutions with specific innovations, we obtained very favorable results with the suggested solution being the best performancewise in all the tests we performed. These results are important, specially considering that apart from being a more efficient solution it also introduces validations of the language usage based on its syntax definition.Actualmente a utilização de linguagens de markup é recorrente no mundo da tecnologia, sendo o HTML a linguagem mais utilizada graças à sua utilização no mundo da Web. Tendo isso em conta é necessário que existam ferramentas capazes de escrever documentos bem formados de forma eficaz. No entanto, a abordagem mais utilizada, template engines, tem dois problemas principais: 1) não garante a geração de documentos bem formados, 2) não garante um bom desempenho, devido à utilização de ficheiros de texto como ficheiros de template. Para resolver o primeiro problema propomos que um template HTML passe a ser definido como uma first-class function. Para isto é necessário criar uma linguagem específica de domínio para que estas funções possam manipular a linguagem HTML. O nosso objectivo principal é criar as ferramentas necessárias para gerar linguagens específicas de domínio com base no ficheiro de definição da linguagem, explícito num ficheiro XSD. A linguagem de domínio gerada deve também garantir que as restrições da respectiva linguagem são verificadas. Removendo os ficheiros textuais que definem templates minimizam-se também os problemas de desempenho introduzidos pelo carregamento de ficheiros de texto e reduzem-se o número de operações sobre Strings. A minha proposta, chamada xmlet, inclui ferramentas que possibilitam: 1) a análise e a extração de informação de um ficheiro XSD, 2) a geração de classes e métodos que definem uma linguagem específica de domínio que reflete as regras presentes no ficheiro XSD, 3) a abstração da utilização da linguagem de domínio gerada, com a utilização do padrão Visitor. Para validar esta solução criaram-se linguagens de domínio não só para HTML como também para a linguagem utilizada para definir layouts visuais para Android e para a linguagem das expressões regulares. Comparando a solução desenvolvida com soluções semelhantes, incluindo template engines e algumas soluções com inovações face à abordagem dos template engines, obtemos resultados favoráveis. Verificamos que a solução sugerida é a mais eficiente em todos os testes feitos. Estes resultados são importantes, especialmente considerando que apesar de ser a solução mais eficiente introduz também a verificação das restrições da linguagem utilizada tendo em conta a sua definição sintática.N/

    As novas tecnologias de informação no ensino da biologia: um estudo sobre fotossíntese com alunos do 10º ano de escolaridade

    Get PDF
    Ao longo das duas últimas décadas, investigações desenvolvidas no domínio do ensino da Biologia revelaram que muitos alunos possuíam concepções alternativas. Este facto conduziu ao incremento de uma linha de investigação centrada em estratégias de ensino que pudessem facilitar o desenvolvimento/ reestruturação dessas concepções. Algumas dessas estratégias incluem o recurso às Tecnologias de Informação, nomeadamente, ao Sistema de Aquisição e Tratamento de Dados (SATD), uma vez que este equipamento, ao permitir reduzir o tempo gasto no tratamento de dados, disponibiliza um maior período de tempo para os alunos preverem resultados, reflectirem e discutirem resultados obtidos, bem como compararem resultados discrepantes. Tendo como referência estas investigações, realizou-se um estudo, no tema "Fotossíntese", que incluiu 41 alunos do 10.0 ano de escolaridade, distribuídos por duas turmas - uma experimental e outra de controlo. As duas desenvolveram actividades laboratoriais, com recurso, respectivamente, ao SATD (turma experimental) e a equipamento tradicional (turma de controlo). A análise de resultados mostrou que os alunos da primeira revelaram, relativamente aos alunos da segunda, uma evolução conceptual mais extensa no tópico "Fotossíntese". Estes resultados parecem indicar que o SATD constitui um factor facilitador da aprendizagem dos alunos.During the last two decades, research studies carried out within the domain of biology educacion have shown that many students' hold alternative conceptions. This fact led to the development of another area of research that focuses on teaching strategies aiming at developing/restructuring those conceptions. Some of those strategies are based on information technology, namely on datalloging. Several researchers have argued that datalogging reduces the time usually spent with data handling and therefore releases a longer time interval (that can be used) for prevision of results, reflection upon both discussion of data collected and discrepant results. In order to evaluate the efficacy of datalogging to promote students' conceptual development a research study focusing on photosynthesis was canied out. The research was undertaken with 41 tenth graders that were allocated to a control class and to an experimental class. Both classes carried out the sarne laboratory activities but the former used traditional lab equipment whilst the latter utilised datalogging. The analysis of the results shows that students in the experimental class experienced a deeper conceptual change than their control class counterparts. These results seem to indicare that datalogging facilitares students’ learning on photosynthesis.Des recherches dans le domaine de l'enseignement de la Biologie ont révélé que bien des d'éleves possedent des conceptions alternatives. Ce fait a conduit au développement d'une autre ligne de recherche centrée sur des sLratégies d'enseignement qui facilitem le développement/restructuration de ces conceptions. Certaines de ces stratégies incluent des Technologies de l'Information, notamment "l'expérimentation assistée par ordinateur" (ExAO), vu qu'il permet de réduire le temps gaspillé avec le traitement des données, offre plus de temps pour que les éleves prévoient des résultats, réfléchissent sur les résultats obtenus et en discutent, et qu'ils comparent les résultats discordants. Ayant pour référence ces lignes de recherche, on a réalisé une étude, sur la photosynthese, qui a indu 41 éleves de la lüe année de scolarité, distribués dans deux classes - une expérimentale et une autre de contrôle. Les deux classes ont développé des activités de laboratoire en recourant respectivement au ExAO et à un équipement traditionnel. L'analyse des résultats a montré que les éleves de la classe expérimentale ont révélé, relativement aux éleves de la classe de contôle, une évolution conceptuelle plus large dans la photosynthese. Ces résultats semblent indiquer que le ExAO constitue un facteur qui facilite l'apprentissage des éleves

    Adequação dos exames de radiologia solicitados por um departamento de emergência: um estudo retrospetivo

    Get PDF
    Imaging tests are essential for diagnosis in the emergency context and convey clinical information that is essential to assess the appropriateness of the tests and improve their interpretation. Therefore, we aimed to analyze the imaging tests requested by the Emergency Department in a district hospital.info:eu-repo/semantics/publishedVersio

    Tibial tunnel positioning on lateral radiographs in anterior cruciate ligament reconstruction: a single surgeon experience

    Get PDF
    Background: Accurate tunnel positioning in anterior cruciate ligament reconstruction surgery is one of the cornerstones for its success. However, it is still controversial and target of disagreement within the orthopedic literature. Therefore, it was aimed to evaluate the tibial tunnel placement in anterior cruciate ligament reconstruction surgeries of a single orthopedic surgeon.Methods: The postoperative knee sagittal radiographs of anterior cruciate ligament reconstructed knees from a single surgeon were retrospectively collected. To assess the tunnel positions was used predefined criteria (in percentage and in millimeters) within the intervals found in the literature (41-43 percent and 21-23 millimeters).Results: There were no significant differences between the number of results (% and mm), within and without the intervals that were considered acceptable for this measure (P >0.05). It was found significant differences in the absolute deviation (%) throughout non-consecutive years (P <0.05). There was no correlation between the absolute deviations and the years of experience (r =-0.080, P =0.663).Conclusions: Significant differences were found in the absolute deviation (%) throughout non-consecutive years, suggesting variations in the tunnel position throughout the years.

    Costo económico del tratamiento de las úlceras por presión : una aproximación teórica

    Get PDF
    O presente artigo consiste numa abordagem teórica sobre a problemática dos custos económicos das úlceras por pressão. Parte-se do conhecimento do problema, numa perspetiva conceptual, para, de seguida, apresentar resultados de estudos de prevalência, a partir dos quais foram delineados estudos de impacto económico. O objectivo deste artigo é o de reflectir sobre os custos económicos associados às úlceras por pressão, quer numa perspetiva global, considerando a repercussão financeira, quer numa vertente personalista, atendendo aos custos intangíveis. Relativamente ao impacto económico das úlceras por pressão, foi efectuada uma estimativa ao nível da Região Autónoma dos Açores do custo total do tratamento por ambiente de cuidados. Nos cuidados domiciliários o custo com o tratamento de todas as categorias é calculado em 7.086.415 euros; nos cuidados hospitalares, em 1.723.509 euros, e nos cuidados prestados em lares de idosos, em 1.002.562 euros. Nos Açores, a estimativa do custo total do tratamento das úlceras por pressão, considerando todas as suas categorias, ronda os 9.812.486 euros. Quanto ao impacto emocional associado, este tem elevados custos para pessoa e para os familiares, nomeadamente pelo sofrimento gerado. De facto, as úlceras por pressão acarretam elevados custos económicos associados ao tratamento, bem como custos intangíveis pelo sofrimento vivenciado por pessoas e cuidadores.RESUMEN: El presente artículo consiste en una reflexión teórica sobre el problema de los costos económicos de las úlceras por presión. Se empieza por el conocimiento del problema, desde una perspectiva conceptual, y, a continuación, se presentan los resultados de estudios de prevalencia, a partir de los cuales se diseñaron estudios de impacto económico. El objetivo del artículo es reflexionar sobre los costos económicos asociados a las úlceras por presión tanto en una perspectiva global, considerando la repercusión financiera, como en una vertiente personalista, de acuerdo a los costos intangibles. En cuanto al impacto económico de las úlceras por presión, se realizó una estimación de la Región Autónoma de Açores del costo total del tratamiento por ámbito de atención. En la atención domiciliaria el costo con el tratamiento de todas las categorías se estima en € 7.086.415, en la atención hospitalaria, se estima € 1.723.509 y en la atención en los asilos se estima en €1.002.562. En Açores, el costo total estimado del tratamiento de las úlceras por presión en todas las categorías, es de alrededor de € 9.812.486. En cuanto al impacto emocional asociado, éste tiene elevados costos para la persona y para los familiares, principalmente, por el sufrimiento causado. De hecho, las úlceras por presión implican altos costos económicos asociados con el tratamiento, así como, costos intangibles generados por el sufrimiento experimentado por los individuos y los cuidadores.ABSTRACT: The present study consisted of a theoretical approach to the problem posed by the economic costs associated with pressure ulcers (PUs). The initial aim was to assess the target problem from a conceptual perspective and then to report the results of prevalence studies that formed the basis for investigations of the disease’s economic impact. The purpose of the present article is to discuss the economic costs associated with PUs from both the global point of view (appraising their financial repercussion) and the individual point of view (addressing the intangible costs). Regarding the economic impact of the costs associated with PUs, the total cost of treatment per healthcare setting was estimated relative to the Autonomous Community of Azores. The total cost of all the PU categories was EUR 7,086,415 in the homecare setting, EUR 1,723,509 in the hospital setting, and EUR 1,002,562 in older people’s homes. Therefore, the estimated total treatment cost of all the PU categories was approximately EUR 9,812,486 in Azores. However, the emotional impact of this disease imposes high costs on patients and their relatives as a function of the resultant suffering. Indeed, PUs impose high costs not only related to the treatment but also related to the intangible costs of the suffering caused to patients and their caregivers.Project ICE 2 – Investigação Científica em Enfermagem – Estudo do “Custo Económico das Úlceras por Pressão na Macaronésia” (MAC/1/A029) de Iniciativa Comunitária – Programa de Cooperação Transnacional Madeira-Açores-Canárias 2007-2013info:eu-repo/semantics/publishedVersio

    The pros and cons of the dedicated upgrade of the hemicellulosic sugar stream in a biorefinery framework

    Get PDF
    The challenge of the future integrated biorefineries is the full economically utilization of all biomass components with the simultaneously production of fuels and chemicals, preferably of added-value. This can only be achieved by the selective fractionation of the lignocellulosic biomass into its polymeric components, thus increasing their individual upgradeability to enhance the process economics. To reach this goal, the fractionation methods used are of crucial importance. Yet, many of the most widely accepted biochemical biorefineries potential lay-outs, are mainly concerned with cellulose hydrolysis and fermentation and the hemicellulosic fractions are, at best, clamped with cellulose, averting its differential upgrade. Therefore, a change in perspective by which the fractionation processes, as well as the overall biorefinery lay-out, are thought and evaluated is needed. The objective of this work is to review, compare and discuss the main advantages and bottlenecks of the currently available biomass pre-treatment technologies, particularly those leading to the selective fractionation of hemicelluloses. The advantages and disadvantages of the methods will be analysed foreseeing the added-value products possible to obtain from the hemicellulose path, and the most relevant factors which influence both product yield and consistency. Actually, the chemical composition and structural diversity of hemicelluloses constitutes an opportunity for the production of many chemicals, which has not yet been fully exploited. The integration of potential added-value products, e.g. oligosaccharides, polyols, and enzymes in a biorefinery framework will also be presented and discussed based on data for the upgrade of agro-food industrial residues and by-products. Examples will compare the use of mild processes for the selective recovery of hemicelluloses such autohydrolysis and dilute acid hydrolysis of brewery's spent grain, wheat straw, and eucalypt wood and the biotechnological processing of the hydrolysates. It is foreseen that hemicellulose-derived chemicals will become an ever more relevant category of products, as they hold a promise of economic benefit for the biorefineries

    Sistemas de proteção ao fogo de elementos de betão reforçados com CFRP

    Get PDF
    Com o aumento da utilização dos materiais compósitos (FRP) são inevitavelmente encontrados novos problemas. De entre esses problemas, existem preocupações em relação ao seu comportamento quando expostos ao fogo. No caso de exposição direta ao fogo, é recomendável que os FRP sejam aplicados com medidas adicionais de prevenção. É objetivo deste trabalho estudar o comportamento dos materiais compósitos à base de fibras de carbono (CFRP) ao fogo. Os materiais utilizados são a manta e o laminado de fibra de carbono. Para tal é apresentada uma campanha de ensaios (10 ensaios com manta e 10 ensaios com laminado) com amostras de provetes de betão de dimensão 100×100×40 [mm]. O CFRP é colado na superfície dos provetes com resina epoxídica exposta à ação térmica. As medidas passivas estudadas neste trabalho são destinadas a impedir a ignição e a diminuir o impacto dos incêndios através de mecanismos que não necessitam de intervenção humana. Os materiais de proteção ao fogo utilizados para se atingir o tempo de resistência ao fogo pretendido são a placa de gesso e as tintas intumescentes. A superfície reforçada é exposta à ação de dois fluxos de calor por radiação, 35 [kW/m2] e 75 [kW/m2], provenientes de um calorímetro de perda de massa. A evolução da temperatura é avaliada através de termopares colocados entre as superfícies de ambos os materiais permitindo uma análise da influência destes materiais de proteção na capacidade de reforço estrutural dos CFRP quando submetidos a temperaturas elevadas. Os resultados apresentados mostram que, nos ensaios realizados, a placa de gesso tem um melhor desempenho do que a tinta intumescente.With the increase of composite materials (FRP) applications new safety problems arise. Among these issues, there are concerns regarding their behaviour when exposed to fire. In case of direct exposure to fire, it is recommended that the FRP be applied using additional fire protection measures. An experimental programme was performed in order to evaluate the behaviour of composite materials when exposed to fire, in particular composite materials based on carbon fibres (CFRP). The materials used were the sheet and the carbon laminate fibre Therefore a campaign of tests (10 tests with sheet and 10 tests with laminate) on concrete specimens with 100×100×40 mm was developed. The CFRP sheet is glued on the surface of the specimens using epoxy resin and exposed to a thermal action. The surface of the reinforcement system is exposed to the action of different radiant heat fluxes (HF) equal to 35 [kW/m2] and 75 [kW/m2], from a cone calorimeter and the temperature variation measured by thermocouples placed between the surface of concrete and the CFRP. The influence of passive protection systems on the burning behaviour of CFRP is analysed using different fire protection materials, such as gypsum board (PB) and intumescent paint (IP). The temperature evolution between the different material layers is determined for the two heat fluxes, allowing to analyse the influence of these protective materials in the structural reinforcement capabilities of the CFRP when subjected to high temperatures. The temperature evolution results show that, for the tested cases, the gypsum board has a better performance than the intumescent coating
    corecore